<?php


namespace App\Services\Strategy;


use App\Models\RegionModel;

class NortheastScrollImg implements ScrollImgStrategy
{
    /**
     * @return mixed|void
<<<<<<< HEAD
     * 用来展示东北地区的轮播图
     */
    public function scrollImgShow($district_id)
    {
        $res = RegionModel::with('scrollImg')->where('region.district_id',$district_id)->get()->toArray();
=======
<<<<<<< HEAD
=======
<<<<<<< HEAD
=======
<<<<<<< HEAD
>>>>>>> ad3f2ce75fb6a6518d685720d3e13e7eb6b3b462
>>>>>>> 5b8878cf77da32ab9fb02103e80d26f0a43187e4
     * 用来展示东北地区的轮播图
     */
    public function scrollImgShow($id)
    {
        $res = RegionModel::with('scrollImg')->where('region.district_id',$id)->get()->toArray();
<<<<<<< HEAD
=======
<<<<<<< HEAD
=======
=======
     * 用来展示东北地区的轮播图3
     */
    public function scrollImgShow($district_id)
    {
        $res = RegionModel::with('scrollImg')->where('region.district_id',$district_id)->get()->toArray();
>>>>>>> ba16dd1753d15808db3b29ea7d71d2dcbc440fff
>>>>>>> ad3f2ce75fb6a6518d685720d3e13e7eb6b3b462
>>>>>>> 5b8878cf77da32ab9fb02103e80d26f0a43187e4
>>>>>>> 75818497ef9bb23fd6bd1547c9e88686d864b7ad
        return $res;
    }
}